﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Asset/EassetMaster.master" AutoEventWireup="true"
    CodeBehind="OrganizationLevelListAssetForm.aspx.cs" Inherits="Eassets.UI.Asset.OrganizationLevelListAssetForm" %>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="formtitle">
        <asp:Label ID="labelFormTitle" runat="server" Text="Organization Level Assets"></asp:Label>
    </div>
    <fieldset>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="label1" runat="server" Text="Organization Level List" CssClass="legendlabel_size2"></asp:Label>
                    <asp:DropDownList ID="dropDownListOrganizationLevelList" runat="server" CssClass="select"
                        AutoPostBack="true" OnSelectedIndexChanged="dropDownListOrganizationLevelList_SelectedIndexChanged">
                        <asp:ListItem Value="0" Text="-Select-"></asp:ListItem>
                        <%-- <asp:ListItem Value="1" Text="Furniture"></asp:ListItem>
                        <asp:ListItem Value="2" Text="Hardware"></asp:ListItem>--%>
                    </asp:DropDownList>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelMainCategory" runat="server" Text="Main Category" CssClass="legendlabel_size2"></asp:Label>
                    <asp:DropDownList ID="dropDownListMainCategory" runat="server" CssClass="select"
                        AutoPostBack="true" OnSelectedIndexChanged="dropDownListMainCategory_SelectedIndexChanged">
                        <asp:ListItem Value="0" Text="-Select-"></asp:ListItem>
                        <%-- <asp:ListItem Value="1" Text="Furniture"></asp:ListItem>
                        <asp:ListItem Value="2" Text="Hardware"></asp:ListItem>--%>
                    </asp:DropDownList>
                </div>
            </li>
        </ul>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelSubCategory" runat="server" Text="Sub Category" CssClass="legendlabel_size2"></asp:Label>
                    <asp:DropDownList ID="dropDownListSubCategory" runat="server" CssClass="select" AutoPostBack="true"
                        OnSelectedIndexChanged="dropDownListSubCategory_SelectedIndexChanged">
                        <asp:ListItem Value="0" Text="-Select-"></asp:ListItem>
                        <%-- <asp:ListItem Value="1" Text=""></asp:ListItem>
                        <asp:ListItem Value="2" Text=""></asp:ListItem>--%>
                    </asp:DropDownList>
                </div>
            </li>
        </ul>
        <ul class="form">
            <li>
                <div class="formfield">
                    <asp:Label ID="labelAsset" runat="server" Text="Asset" CssClass="legendlabel_size2"></asp:Label>
                    <asp:DropDownList ID="dropDownListAsset" runat="server" CssClass="select" AutoPostBack="true"
                        OnSelectedIndexChanged="dropDownListAsset_SelectedIndexChanged">
                        <asp:ListItem Value="0" Text="-Select-"></asp:ListItem>
                        <%-- <asp:ListItem Value="1" Text=""></asp:ListItem>
                        <asp:ListItem Value="2" Text=""></asp:ListItem>--%>
                    </asp:DropDownList>
                </div>
            </li>
        </ul>
    </fieldset>
    <br />
    <fieldset>
        <ul class="form">
            <li>
                <div>
                    <asp:GridView ID="gridViewOrganizationLevelAsset" runat="server" Caption="Asset Details"
                        CssClass="ColStyle" EmptyDataText="No data to display" AllowPaging="True" PageSize="10"
                        AutoGenerateColumns="false" Width="100%" OnPageIndexChanging="gridViewOrganizationLevelAssets_PageIndexChanging">
                        <RowStyle CssClass="RowStyle" />
                        <AlternatingRowStyle CssClass="AltRowStyle" />
                        <HeaderStyle CssClass="GridHeader" />
                        <SelectedRowStyle CssClass="SelectedRowStyle" />
                        <Columns>
                            <asp:CommandField ItemStyle-Width="20" ShowSelectButton="True" ButtonType="Image"
                                SelectImageUrl="~/styles/images/Select_icon_button.gif" />
                            <asp:BoundField HeaderText="" DataField="AssetId" ItemStyle-Width="150" />
                            <asp:BoundField HeaderText="Asset Code" DataField="Code" ItemStyle-Width="150" />
                            <asp:BoundField HeaderText="Description" DataField="Description" ItemStyle-Width="300" />
                            <asp:TemplateField HeaderText="Initial Qty">
                                <ItemTemplate>
                                    <asp:TextBox ID="textBoxCount" runat="server" CssClass="textbox_customsize" Width="100px"
                                        MaxLength="8" Text='<%# Eval("Count")%>'></asp:TextBox>
                                    <%-- '<%# Bind("authorizationCriteriaId") %>'--%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Item Details">
                                <ItemTemplate>
                                    <asp:Button ID="ButtonItemDetails" runat="server" Text="..." CssClass="button_browse"
                                        OnClick="ButtonItemDetails_OnClick" />
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </div>
            </li>
            <li>
                <br />
            </li>
        </ul>
    </fieldset>
</asp:Content>
